var t = getApp();

Page({
    data: {
        info: {},
        recordFlag: !1
    },
    onLoad: function(t) {
        this.getDetails(t.id);
    },
    setRecordFlag: function() {
        this.setData({
            recordFlag: !this.data.recordFlag
        });
    },
    getDetails: function(e) {
        var n = this, o = t.getNetAddresss("plugin.consume-reward.frontend.member.getOrderDetail");
        t._getNetWork({
            url: o,
            data: {
                detail_id: e
            },
            success: function(e) {
                var o = e.data;
                if (1 != o.result) return t.tips(o.msg);
                console.log(o), n.setData({
                    info: o.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});